package com.fy.common;

public enum HttpStatusEnum {

    LOGIN_TOKEN_NOT_FOUND("无token，请登录", 601),
    LOGIN_TOKEN_ERROR("token错误", 602),
    LOGIN_TOKEN_EXPIRE("token过期", 603),
    USER_NOT_FOUND("token中用户不存在", 604);



    private String description;
    private int code;

    private HttpStatusEnum (String description, int code) {
        this.description = description;
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
